/* eslint-disable react/jsx-pascal-case */
/* eslint-disable no-empty-pattern */
import React from 'react'
import {Outlet} from "react-router-dom"
import My_footer from 'src/components/My_footer'
import {mainRouter} from '../router/router_config'

type Props = {}

function Index({}: Props) {
  return (
    <div className='index'>
        <header>头部</header>
        <main>
            <Outlet />
        </main>
        <footer>
          <My_footer mainRouter={mainRouter}/>
        </footer>
    </div>
  )
}

export default Index